package com.lulu.baselib.api.Interceptor;

import java.io.IOException;

import okhttp3.Interceptor;
import okhttp3.Request;
import okhttp3.Response;

/**
 * Author: XuChang
 * Date: 2019/10/22 22:05
 * Email: 123286473@qq.com
 * Description:添加基础参数
 */
public class ParamsHandlerInterceptor implements Interceptor {

    /**
     * 参数处理
     */
    @Override
    public Response intercept(Chain chain) throws IOException {
        Request request = chain.request();
        //对参数加工
        return chain.proceed(request);
    }


}
